$OpenBSD: patch-configure,v 1.1 2015/01/26 13:13:58 steven Exp $
--- configure.orig	Wed Aug 27 00:42:06 2014
+++ configure	Fri Jan 23 22:13:51 2015
@@ -5780,7 +5780,7 @@ if ${ac_cv_lib_ft_main+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lft  $LIBS"
+LIBS="-L${LOCALBASE}/lib -lft  $LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
